﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace VSIXUtilities.DataObjects.Enums
{
	[Flags]
    public enum FStyle : int
	{
		/// <summary>
		/// Draws the image, blending 50 percent with the system highlight color. This value has no effect if the image list does not contain a mask.
		/// </summary>
		ILD_BLEND = ILD_BLEND50,
		ILD_BLEND25 = 0x00000002,
		ILD_BLEND50 = 0x00000004,
		/// <summary>
		/// Draws the image, blending 25 percent with the system highlight color. This value has no effect if the image list does not contain a mask.
		/// </summary>
		ILD_FOCUS = ILD_BLEND25,
		ILD_SELECTED = ILD_BLEND50,
		/// <summary>
		/// Draws the mask.
		/// </summary>
		ILD_MASK = 0x00000010,
		/// <summary>
		/// Draw the icon image without using the mask
		/// </summary>
		ILD_IMAGE = 0x00000020,
		/// <summary>
		/// Draws the image using the background color for the image list. If the background color is the CLR_NONE value, the image is drawn transparently using the mask.
		/// </summary>
		ILD_NORMAL = 0x00000000,
		/// <summary>
		/// Draw the icon using the ROP specified.
		/// </summary>
		ILD_ROP = 0x00000040,
		ILD_OVERLAYMASK = 0x0000000F,
		/// <summary>
		/// Preserves the alpha channel in dest. XP only.
		/// </summary>
		ILD_PRESERVEALPHA = 0x00001000,
		/// <summary>
		/// Scale the image to cx, cy instead of clipping it.  XP only.
		/// </summary>
		ILD_SCALE = 0x00002000,
		/// <summary>
		/// Draws the image transparently using the mask, regardless of the background color. This value has no effect if the image list does 
		/// </summary>
		ILD_TRANSPARENT = 0x00000001,
			/// <summary>
		/// Scale the image to the current DPI of the display. XP only.
		/// </summary>
		ILD_DPISCALE = 0x00004000
}

	//[Flags]
	//public enum ImageListDrawItemConstants : int
	//{
	//    /// <summary>
	//    /// Draw item normally.
	//    /// </summary>
	//    ILD_NORMAL = 0x0,
	//    /// <summary>
	//    /// Draw item transparently.
	//    /// </summary>
	//    ILD_TRANSPARENT = 0x1,
	//    /// <summary>
	//    /// Draw item blended with 25% of the specified foreground colour
	//    /// or the Highlight colour if no foreground colour specified.
	//    /// </summary>
	//    ILD_BLEND25 = 0x2,
	//    /// <summary>
	//    /// Draw item blended with 50% of the specified foreground colour
	//    /// or the Highlight colour if no foreground colour specified.
	//    /// </summary>
	//    ILD_SELECTED = 0x4,
	//    /// <summary>
	//    /// Draw the icon's mask
	//    /// </summary>
	//    ILD_MASK = 0x10,
	//    /// <summary>
	//    /// Draw the icon image without using the mask
	//    /// </summary>
	//    ILD_IMAGE = 0x20,
	//    /// <summary>
	//    /// Draw the icon using the ROP specified.
	//    /// </summary>
	//    ILD_ROP = 0x40,
	//    /// <summary>
	//    /// ?
	//    /// </summary>
	//    ILD_OVERLAYMASK = 0xF00,
	//    /// <summary>
	//    /// Preserves the alpha channel in dest. XP only.
	//    /// </summary>
	//    ILD_PRESERVEALPHA = 0x1000, // 
	//    /// <summary>
	//    /// Scale the image to cx, cy instead of clipping it.  XP only.
	//    /// </summary>
	//    ILD_SCALE = 0x2000,
	//    /// <summary>
	//    /// Scale the image to the current DPI of the display. XP only.
	//    /// </summary>
	//    ILD_DPISCALE = 0x4000
	//}

}
